package com.itcast.staticdemo.Demo02;

/*
要写注释哦!!!
*/
public class Student {

    private static String name;
    private int id;

    public Student() {
    }

    public Student(int id) {
        this.id = id;
    }

    public static String getName() {
        return name;
    }

    public static void setName(String name) {
        Student.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
